package com.weimall.pojo;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public class TjdMxExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TjdMxExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("ID like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("ID not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andXhIsNull() {
            addCriterion("XH is null");
            return (Criteria) this;
        }

        public Criteria andXhIsNotNull() {
            addCriterion("XH is not null");
            return (Criteria) this;
        }

        public Criteria andXhEqualTo(Integer value) {
            addCriterion("XH =", value, "xh");
            return (Criteria) this;
        }

        public Criteria andXhNotEqualTo(Integer value) {
            addCriterion("XH <>", value, "xh");
            return (Criteria) this;
        }

        public Criteria andXhGreaterThan(Integer value) {
            addCriterion("XH >", value, "xh");
            return (Criteria) this;
        }

        public Criteria andXhGreaterThanOrEqualTo(Integer value) {
            addCriterion("XH >=", value, "xh");
            return (Criteria) this;
        }

        public Criteria andXhLessThan(Integer value) {
            addCriterion("XH <", value, "xh");
            return (Criteria) this;
        }

        public Criteria andXhLessThanOrEqualTo(Integer value) {
            addCriterion("XH <=", value, "xh");
            return (Criteria) this;
        }

        public Criteria andXhIn(List<Integer> values) {
            addCriterion("XH in", values, "xh");
            return (Criteria) this;
        }

        public Criteria andXhNotIn(List<Integer> values) {
            addCriterion("XH not in", values, "xh");
            return (Criteria) this;
        }

        public Criteria andXhBetween(Integer value1, Integer value2) {
            addCriterion("XH between", value1, value2, "xh");
            return (Criteria) this;
        }

        public Criteria andXhNotBetween(Integer value1, Integer value2) {
            addCriterion("XH not between", value1, value2, "xh");
            return (Criteria) this;
        }

        public Criteria andSpbmIsNull() {
            addCriterion("SPBM is null");
            return (Criteria) this;
        }

        public Criteria andSpbmIsNotNull() {
            addCriterion("SPBM is not null");
            return (Criteria) this;
        }

        public Criteria andSpbmEqualTo(String value) {
            addCriterion("SPBM =", value, "spbm");
            return (Criteria) this;
        }

        public Criteria andSpbmNotEqualTo(String value) {
            addCriterion("SPBM <>", value, "spbm");
            return (Criteria) this;
        }

        public Criteria andSpbmGreaterThan(String value) {
            addCriterion("SPBM >", value, "spbm");
            return (Criteria) this;
        }

        public Criteria andSpbmGreaterThanOrEqualTo(String value) {
            addCriterion("SPBM >=", value, "spbm");
            return (Criteria) this;
        }

        public Criteria andSpbmLessThan(String value) {
            addCriterion("SPBM <", value, "spbm");
            return (Criteria) this;
        }

        public Criteria andSpbmLessThanOrEqualTo(String value) {
            addCriterion("SPBM <=", value, "spbm");
            return (Criteria) this;
        }

        public Criteria andSpbmLike(String value) {
            addCriterion("SPBM like", value, "spbm");
            return (Criteria) this;
        }

        public Criteria andSpbmNotLike(String value) {
            addCriterion("SPBM not like", value, "spbm");
            return (Criteria) this;
        }

        public Criteria andSpbmIn(List<String> values) {
            addCriterion("SPBM in", values, "spbm");
            return (Criteria) this;
        }

        public Criteria andSpbmNotIn(List<String> values) {
            addCriterion("SPBM not in", values, "spbm");
            return (Criteria) this;
        }

        public Criteria andSpbmBetween(String value1, String value2) {
            addCriterion("SPBM between", value1, value2, "spbm");
            return (Criteria) this;
        }

        public Criteria andSpbmNotBetween(String value1, String value2) {
            addCriterion("SPBM not between", value1, value2, "spbm");
            return (Criteria) this;
        }

        public Criteria andSpmcIsNull() {
            addCriterion("SPMC is null");
            return (Criteria) this;
        }

        public Criteria andSpmcIsNotNull() {
            addCriterion("SPMC is not null");
            return (Criteria) this;
        }

        public Criteria andSpmcEqualTo(String value) {
            addCriterion("SPMC =", value, "spmc");
            return (Criteria) this;
        }

        public Criteria andSpmcNotEqualTo(String value) {
            addCriterion("SPMC <>", value, "spmc");
            return (Criteria) this;
        }

        public Criteria andSpmcGreaterThan(String value) {
            addCriterion("SPMC >", value, "spmc");
            return (Criteria) this;
        }

        public Criteria andSpmcGreaterThanOrEqualTo(String value) {
            addCriterion("SPMC >=", value, "spmc");
            return (Criteria) this;
        }

        public Criteria andSpmcLessThan(String value) {
            addCriterion("SPMC <", value, "spmc");
            return (Criteria) this;
        }

        public Criteria andSpmcLessThanOrEqualTo(String value) {
            addCriterion("SPMC <=", value, "spmc");
            return (Criteria) this;
        }

        public Criteria andSpmcLike(String value) {
            addCriterion("SPMC like", value, "spmc");
            return (Criteria) this;
        }

        public Criteria andSpmcNotLike(String value) {
            addCriterion("SPMC not like", value, "spmc");
            return (Criteria) this;
        }

        public Criteria andSpmcIn(List<String> values) {
            addCriterion("SPMC in", values, "spmc");
            return (Criteria) this;
        }

        public Criteria andSpmcNotIn(List<String> values) {
            addCriterion("SPMC not in", values, "spmc");
            return (Criteria) this;
        }

        public Criteria andSpmcBetween(String value1, String value2) {
            addCriterion("SPMC between", value1, value2, "spmc");
            return (Criteria) this;
        }

        public Criteria andSpmcNotBetween(String value1, String value2) {
            addCriterion("SPMC not between", value1, value2, "spmc");
            return (Criteria) this;
        }

        public Criteria andXhggIsNull() {
            addCriterion("XHGG is null");
            return (Criteria) this;
        }

        public Criteria andXhggIsNotNull() {
            addCriterion("XHGG is not null");
            return (Criteria) this;
        }

        public Criteria andXhggEqualTo(String value) {
            addCriterion("XHGG =", value, "xhgg");
            return (Criteria) this;
        }

        public Criteria andXhggNotEqualTo(String value) {
            addCriterion("XHGG <>", value, "xhgg");
            return (Criteria) this;
        }

        public Criteria andXhggGreaterThan(String value) {
            addCriterion("XHGG >", value, "xhgg");
            return (Criteria) this;
        }

        public Criteria andXhggGreaterThanOrEqualTo(String value) {
            addCriterion("XHGG >=", value, "xhgg");
            return (Criteria) this;
        }

        public Criteria andXhggLessThan(String value) {
            addCriterion("XHGG <", value, "xhgg");
            return (Criteria) this;
        }

        public Criteria andXhggLessThanOrEqualTo(String value) {
            addCriterion("XHGG <=", value, "xhgg");
            return (Criteria) this;
        }

        public Criteria andXhggLike(String value) {
            addCriterion("XHGG like", value, "xhgg");
            return (Criteria) this;
        }

        public Criteria andXhggNotLike(String value) {
            addCriterion("XHGG not like", value, "xhgg");
            return (Criteria) this;
        }

        public Criteria andXhggIn(List<String> values) {
            addCriterion("XHGG in", values, "xhgg");
            return (Criteria) this;
        }

        public Criteria andXhggNotIn(List<String> values) {
            addCriterion("XHGG not in", values, "xhgg");
            return (Criteria) this;
        }

        public Criteria andXhggBetween(String value1, String value2) {
            addCriterion("XHGG between", value1, value2, "xhgg");
            return (Criteria) this;
        }

        public Criteria andXhggNotBetween(String value1, String value2) {
            addCriterion("XHGG not between", value1, value2, "xhgg");
            return (Criteria) this;
        }

        public Criteria andSccjIsNull() {
            addCriterion("SCCJ is null");
            return (Criteria) this;
        }

        public Criteria andSccjIsNotNull() {
            addCriterion("SCCJ is not null");
            return (Criteria) this;
        }

        public Criteria andSccjEqualTo(String value) {
            addCriterion("SCCJ =", value, "sccj");
            return (Criteria) this;
        }

        public Criteria andSccjNotEqualTo(String value) {
            addCriterion("SCCJ <>", value, "sccj");
            return (Criteria) this;
        }

        public Criteria andSccjGreaterThan(String value) {
            addCriterion("SCCJ >", value, "sccj");
            return (Criteria) this;
        }

        public Criteria andSccjGreaterThanOrEqualTo(String value) {
            addCriterion("SCCJ >=", value, "sccj");
            return (Criteria) this;
        }

        public Criteria andSccjLessThan(String value) {
            addCriterion("SCCJ <", value, "sccj");
            return (Criteria) this;
        }

        public Criteria andSccjLessThanOrEqualTo(String value) {
            addCriterion("SCCJ <=", value, "sccj");
            return (Criteria) this;
        }

        public Criteria andSccjLike(String value) {
            addCriterion("SCCJ like", value, "sccj");
            return (Criteria) this;
        }

        public Criteria andSccjNotLike(String value) {
            addCriterion("SCCJ not like", value, "sccj");
            return (Criteria) this;
        }

        public Criteria andSccjIn(List<String> values) {
            addCriterion("SCCJ in", values, "sccj");
            return (Criteria) this;
        }

        public Criteria andSccjNotIn(List<String> values) {
            addCriterion("SCCJ not in", values, "sccj");
            return (Criteria) this;
        }

        public Criteria andSccjBetween(String value1, String value2) {
            addCriterion("SCCJ between", value1, value2, "sccj");
            return (Criteria) this;
        }

        public Criteria andSccjNotBetween(String value1, String value2) {
            addCriterion("SCCJ not between", value1, value2, "sccj");
            return (Criteria) this;
        }

        public Criteria andFjtxIsNull() {
            addCriterion("FJTX is null");
            return (Criteria) this;
        }

        public Criteria andFjtxIsNotNull() {
            addCriterion("FJTX is not null");
            return (Criteria) this;
        }

        public Criteria andFjtxEqualTo(String value) {
            addCriterion("FJTX =", value, "fjtx");
            return (Criteria) this;
        }

        public Criteria andFjtxNotEqualTo(String value) {
            addCriterion("FJTX <>", value, "fjtx");
            return (Criteria) this;
        }

        public Criteria andFjtxGreaterThan(String value) {
            addCriterion("FJTX >", value, "fjtx");
            return (Criteria) this;
        }

        public Criteria andFjtxGreaterThanOrEqualTo(String value) {
            addCriterion("FJTX >=", value, "fjtx");
            return (Criteria) this;
        }

        public Criteria andFjtxLessThan(String value) {
            addCriterion("FJTX <", value, "fjtx");
            return (Criteria) this;
        }

        public Criteria andFjtxLessThanOrEqualTo(String value) {
            addCriterion("FJTX <=", value, "fjtx");
            return (Criteria) this;
        }

        public Criteria andFjtxLike(String value) {
            addCriterion("FJTX like", value, "fjtx");
            return (Criteria) this;
        }

        public Criteria andFjtxNotLike(String value) {
            addCriterion("FJTX not like", value, "fjtx");
            return (Criteria) this;
        }

        public Criteria andFjtxIn(List<String> values) {
            addCriterion("FJTX in", values, "fjtx");
            return (Criteria) this;
        }

        public Criteria andFjtxNotIn(List<String> values) {
            addCriterion("FJTX not in", values, "fjtx");
            return (Criteria) this;
        }

        public Criteria andFjtxBetween(String value1, String value2) {
            addCriterion("FJTX between", value1, value2, "fjtx");
            return (Criteria) this;
        }

        public Criteria andFjtxNotBetween(String value1, String value2) {
            addCriterion("FJTX not between", value1, value2, "fjtx");
            return (Criteria) this;
        }

        public Criteria andJldwIsNull() {
            addCriterion("JLDW is null");
            return (Criteria) this;
        }

        public Criteria andJldwIsNotNull() {
            addCriterion("JLDW is not null");
            return (Criteria) this;
        }

        public Criteria andJldwEqualTo(String value) {
            addCriterion("JLDW =", value, "jldw");
            return (Criteria) this;
        }

        public Criteria andJldwNotEqualTo(String value) {
            addCriterion("JLDW <>", value, "jldw");
            return (Criteria) this;
        }

        public Criteria andJldwGreaterThan(String value) {
            addCriterion("JLDW >", value, "jldw");
            return (Criteria) this;
        }

        public Criteria andJldwGreaterThanOrEqualTo(String value) {
            addCriterion("JLDW >=", value, "jldw");
            return (Criteria) this;
        }

        public Criteria andJldwLessThan(String value) {
            addCriterion("JLDW <", value, "jldw");
            return (Criteria) this;
        }

        public Criteria andJldwLessThanOrEqualTo(String value) {
            addCriterion("JLDW <=", value, "jldw");
            return (Criteria) this;
        }

        public Criteria andJldwLike(String value) {
            addCriterion("JLDW like", value, "jldw");
            return (Criteria) this;
        }

        public Criteria andJldwNotLike(String value) {
            addCriterion("JLDW not like", value, "jldw");
            return (Criteria) this;
        }

        public Criteria andJldwIn(List<String> values) {
            addCriterion("JLDW in", values, "jldw");
            return (Criteria) this;
        }

        public Criteria andJldwNotIn(List<String> values) {
            addCriterion("JLDW not in", values, "jldw");
            return (Criteria) this;
        }

        public Criteria andJldwBetween(String value1, String value2) {
            addCriterion("JLDW between", value1, value2, "jldw");
            return (Criteria) this;
        }

        public Criteria andJldwNotBetween(String value1, String value2) {
            addCriterion("JLDW not between", value1, value2, "jldw");
            return (Criteria) this;
        }

        public Criteria andJjIsNull() {
            addCriterion("JJ is null");
            return (Criteria) this;
        }

        public Criteria andJjIsNotNull() {
            addCriterion("JJ is not null");
            return (Criteria) this;
        }

        public Criteria andJjEqualTo(BigDecimal value) {
            addCriterion("JJ =", value, "jj");
            return (Criteria) this;
        }

        public Criteria andJjNotEqualTo(BigDecimal value) {
            addCriterion("JJ <>", value, "jj");
            return (Criteria) this;
        }

        public Criteria andJjGreaterThan(BigDecimal value) {
            addCriterion("JJ >", value, "jj");
            return (Criteria) this;
        }

        public Criteria andJjGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("JJ >=", value, "jj");
            return (Criteria) this;
        }

        public Criteria andJjLessThan(BigDecimal value) {
            addCriterion("JJ <", value, "jj");
            return (Criteria) this;
        }

        public Criteria andJjLessThanOrEqualTo(BigDecimal value) {
            addCriterion("JJ <=", value, "jj");
            return (Criteria) this;
        }

        public Criteria andJjIn(List<BigDecimal> values) {
            addCriterion("JJ in", values, "jj");
            return (Criteria) this;
        }

        public Criteria andJjNotIn(List<BigDecimal> values) {
            addCriterion("JJ not in", values, "jj");
            return (Criteria) this;
        }

        public Criteria andJjBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("JJ between", value1, value2, "jj");
            return (Criteria) this;
        }

        public Criteria andJjNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("JJ not between", value1, value2, "jj");
            return (Criteria) this;
        }

        public Criteria andPfjOldIsNull() {
            addCriterion("PFJ_OLD is null");
            return (Criteria) this;
        }

        public Criteria andPfjOldIsNotNull() {
            addCriterion("PFJ_OLD is not null");
            return (Criteria) this;
        }

        public Criteria andPfjOldEqualTo(BigDecimal value) {
            addCriterion("PFJ_OLD =", value, "pfjOld");
            return (Criteria) this;
        }

        public Criteria andPfjOldNotEqualTo(BigDecimal value) {
            addCriterion("PFJ_OLD <>", value, "pfjOld");
            return (Criteria) this;
        }

        public Criteria andPfjOldGreaterThan(BigDecimal value) {
            addCriterion("PFJ_OLD >", value, "pfjOld");
            return (Criteria) this;
        }

        public Criteria andPfjOldGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("PFJ_OLD >=", value, "pfjOld");
            return (Criteria) this;
        }

        public Criteria andPfjOldLessThan(BigDecimal value) {
            addCriterion("PFJ_OLD <", value, "pfjOld");
            return (Criteria) this;
        }

        public Criteria andPfjOldLessThanOrEqualTo(BigDecimal value) {
            addCriterion("PFJ_OLD <=", value, "pfjOld");
            return (Criteria) this;
        }

        public Criteria andPfjOldIn(List<BigDecimal> values) {
            addCriterion("PFJ_OLD in", values, "pfjOld");
            return (Criteria) this;
        }

        public Criteria andPfjOldNotIn(List<BigDecimal> values) {
            addCriterion("PFJ_OLD not in", values, "pfjOld");
            return (Criteria) this;
        }

        public Criteria andPfjOldBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("PFJ_OLD between", value1, value2, "pfjOld");
            return (Criteria) this;
        }

        public Criteria andPfjOldNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("PFJ_OLD not between", value1, value2, "pfjOld");
            return (Criteria) this;
        }

        public Criteria andPfjIsNull() {
            addCriterion("PFJ is null");
            return (Criteria) this;
        }

        public Criteria andPfjIsNotNull() {
            addCriterion("PFJ is not null");
            return (Criteria) this;
        }

        public Criteria andPfjEqualTo(BigDecimal value) {
            addCriterion("PFJ =", value, "pfj");
            return (Criteria) this;
        }

        public Criteria andPfjNotEqualTo(BigDecimal value) {
            addCriterion("PFJ <>", value, "pfj");
            return (Criteria) this;
        }

        public Criteria andPfjGreaterThan(BigDecimal value) {
            addCriterion("PFJ >", value, "pfj");
            return (Criteria) this;
        }

        public Criteria andPfjGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("PFJ >=", value, "pfj");
            return (Criteria) this;
        }

        public Criteria andPfjLessThan(BigDecimal value) {
            addCriterion("PFJ <", value, "pfj");
            return (Criteria) this;
        }

        public Criteria andPfjLessThanOrEqualTo(BigDecimal value) {
            addCriterion("PFJ <=", value, "pfj");
            return (Criteria) this;
        }

        public Criteria andPfjIn(List<BigDecimal> values) {
            addCriterion("PFJ in", values, "pfj");
            return (Criteria) this;
        }

        public Criteria andPfjNotIn(List<BigDecimal> values) {
            addCriterion("PFJ not in", values, "pfj");
            return (Criteria) this;
        }

        public Criteria andPfjBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("PFJ between", value1, value2, "pfj");
            return (Criteria) this;
        }

        public Criteria andPfjNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("PFJ not between", value1, value2, "pfj");
            return (Criteria) this;
        }

        public Criteria andLsjOldIsNull() {
            addCriterion("LSJ_OLD is null");
            return (Criteria) this;
        }

        public Criteria andLsjOldIsNotNull() {
            addCriterion("LSJ_OLD is not null");
            return (Criteria) this;
        }

        public Criteria andLsjOldEqualTo(BigDecimal value) {
            addCriterion("LSJ_OLD =", value, "lsjOld");
            return (Criteria) this;
        }

        public Criteria andLsjOldNotEqualTo(BigDecimal value) {
            addCriterion("LSJ_OLD <>", value, "lsjOld");
            return (Criteria) this;
        }

        public Criteria andLsjOldGreaterThan(BigDecimal value) {
            addCriterion("LSJ_OLD >", value, "lsjOld");
            return (Criteria) this;
        }

        public Criteria andLsjOldGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("LSJ_OLD >=", value, "lsjOld");
            return (Criteria) this;
        }

        public Criteria andLsjOldLessThan(BigDecimal value) {
            addCriterion("LSJ_OLD <", value, "lsjOld");
            return (Criteria) this;
        }

        public Criteria andLsjOldLessThanOrEqualTo(BigDecimal value) {
            addCriterion("LSJ_OLD <=", value, "lsjOld");
            return (Criteria) this;
        }

        public Criteria andLsjOldIn(List<BigDecimal> values) {
            addCriterion("LSJ_OLD in", values, "lsjOld");
            return (Criteria) this;
        }

        public Criteria andLsjOldNotIn(List<BigDecimal> values) {
            addCriterion("LSJ_OLD not in", values, "lsjOld");
            return (Criteria) this;
        }

        public Criteria andLsjOldBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("LSJ_OLD between", value1, value2, "lsjOld");
            return (Criteria) this;
        }

        public Criteria andLsjOldNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("LSJ_OLD not between", value1, value2, "lsjOld");
            return (Criteria) this;
        }

        public Criteria andLsjIsNull() {
            addCriterion("LSJ is null");
            return (Criteria) this;
        }

        public Criteria andLsjIsNotNull() {
            addCriterion("LSJ is not null");
            return (Criteria) this;
        }

        public Criteria andLsjEqualTo(BigDecimal value) {
            addCriterion("LSJ =", value, "lsj");
            return (Criteria) this;
        }

        public Criteria andLsjNotEqualTo(BigDecimal value) {
            addCriterion("LSJ <>", value, "lsj");
            return (Criteria) this;
        }

        public Criteria andLsjGreaterThan(BigDecimal value) {
            addCriterion("LSJ >", value, "lsj");
            return (Criteria) this;
        }

        public Criteria andLsjGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("LSJ >=", value, "lsj");
            return (Criteria) this;
        }

        public Criteria andLsjLessThan(BigDecimal value) {
            addCriterion("LSJ <", value, "lsj");
            return (Criteria) this;
        }

        public Criteria andLsjLessThanOrEqualTo(BigDecimal value) {
            addCriterion("LSJ <=", value, "lsj");
            return (Criteria) this;
        }

        public Criteria andLsjIn(List<BigDecimal> values) {
            addCriterion("LSJ in", values, "lsj");
            return (Criteria) this;
        }

        public Criteria andLsjNotIn(List<BigDecimal> values) {
            addCriterion("LSJ not in", values, "lsj");
            return (Criteria) this;
        }

        public Criteria andLsjBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("LSJ between", value1, value2, "lsj");
            return (Criteria) this;
        }

        public Criteria andLsjNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("LSJ not between", value1, value2, "lsj");
            return (Criteria) this;
        }

        public Criteria andHyjOldIsNull() {
            addCriterion("HYJ_OLD is null");
            return (Criteria) this;
        }

        public Criteria andHyjOldIsNotNull() {
            addCriterion("HYJ_OLD is not null");
            return (Criteria) this;
        }

        public Criteria andHyjOldEqualTo(BigDecimal value) {
            addCriterion("HYJ_OLD =", value, "hyjOld");
            return (Criteria) this;
        }

        public Criteria andHyjOldNotEqualTo(BigDecimal value) {
            addCriterion("HYJ_OLD <>", value, "hyjOld");
            return (Criteria) this;
        }

        public Criteria andHyjOldGreaterThan(BigDecimal value) {
            addCriterion("HYJ_OLD >", value, "hyjOld");
            return (Criteria) this;
        }

        public Criteria andHyjOldGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("HYJ_OLD >=", value, "hyjOld");
            return (Criteria) this;
        }

        public Criteria andHyjOldLessThan(BigDecimal value) {
            addCriterion("HYJ_OLD <", value, "hyjOld");
            return (Criteria) this;
        }

        public Criteria andHyjOldLessThanOrEqualTo(BigDecimal value) {
            addCriterion("HYJ_OLD <=", value, "hyjOld");
            return (Criteria) this;
        }

        public Criteria andHyjOldIn(List<BigDecimal> values) {
            addCriterion("HYJ_OLD in", values, "hyjOld");
            return (Criteria) this;
        }

        public Criteria andHyjOldNotIn(List<BigDecimal> values) {
            addCriterion("HYJ_OLD not in", values, "hyjOld");
            return (Criteria) this;
        }

        public Criteria andHyjOldBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("HYJ_OLD between", value1, value2, "hyjOld");
            return (Criteria) this;
        }

        public Criteria andHyjOldNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("HYJ_OLD not between", value1, value2, "hyjOld");
            return (Criteria) this;
        }

        public Criteria andHyjIsNull() {
            addCriterion("HYJ is null");
            return (Criteria) this;
        }

        public Criteria andHyjIsNotNull() {
            addCriterion("HYJ is not null");
            return (Criteria) this;
        }

        public Criteria andHyjEqualTo(BigDecimal value) {
            addCriterion("HYJ =", value, "hyj");
            return (Criteria) this;
        }

        public Criteria andHyjNotEqualTo(BigDecimal value) {
            addCriterion("HYJ <>", value, "hyj");
            return (Criteria) this;
        }

        public Criteria andHyjGreaterThan(BigDecimal value) {
            addCriterion("HYJ >", value, "hyj");
            return (Criteria) this;
        }

        public Criteria andHyjGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("HYJ >=", value, "hyj");
            return (Criteria) this;
        }

        public Criteria andHyjLessThan(BigDecimal value) {
            addCriterion("HYJ <", value, "hyj");
            return (Criteria) this;
        }

        public Criteria andHyjLessThanOrEqualTo(BigDecimal value) {
            addCriterion("HYJ <=", value, "hyj");
            return (Criteria) this;
        }

        public Criteria andHyjIn(List<BigDecimal> values) {
            addCriterion("HYJ in", values, "hyj");
            return (Criteria) this;
        }

        public Criteria andHyjNotIn(List<BigDecimal> values) {
            addCriterion("HYJ not in", values, "hyj");
            return (Criteria) this;
        }

        public Criteria andHyjBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("HYJ between", value1, value2, "hyj");
            return (Criteria) this;
        }

        public Criteria andHyjNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("HYJ not between", value1, value2, "hyj");
            return (Criteria) this;
        }

        public Criteria andP1OldIsNull() {
            addCriterion("P1_OLD is null");
            return (Criteria) this;
        }

        public Criteria andP1OldIsNotNull() {
            addCriterion("P1_OLD is not null");
            return (Criteria) this;
        }

        public Criteria andP1OldEqualTo(BigDecimal value) {
            addCriterion("P1_OLD =", value, "p1Old");
            return (Criteria) this;
        }

        public Criteria andP1OldNotEqualTo(BigDecimal value) {
            addCriterion("P1_OLD <>", value, "p1Old");
            return (Criteria) this;
        }

        public Criteria andP1OldGreaterThan(BigDecimal value) {
            addCriterion("P1_OLD >", value, "p1Old");
            return (Criteria) this;
        }

        public Criteria andP1OldGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("P1_OLD >=", value, "p1Old");
            return (Criteria) this;
        }

        public Criteria andP1OldLessThan(BigDecimal value) {
            addCriterion("P1_OLD <", value, "p1Old");
            return (Criteria) this;
        }

        public Criteria andP1OldLessThanOrEqualTo(BigDecimal value) {
            addCriterion("P1_OLD <=", value, "p1Old");
            return (Criteria) this;
        }

        public Criteria andP1OldIn(List<BigDecimal> values) {
            addCriterion("P1_OLD in", values, "p1Old");
            return (Criteria) this;
        }

        public Criteria andP1OldNotIn(List<BigDecimal> values) {
            addCriterion("P1_OLD not in", values, "p1Old");
            return (Criteria) this;
        }

        public Criteria andP1OldBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("P1_OLD between", value1, value2, "p1Old");
            return (Criteria) this;
        }

        public Criteria andP1OldNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("P1_OLD not between", value1, value2, "p1Old");
            return (Criteria) this;
        }

        public Criteria andP1IsNull() {
            addCriterion("P1 is null");
            return (Criteria) this;
        }

        public Criteria andP1IsNotNull() {
            addCriterion("P1 is not null");
            return (Criteria) this;
        }

        public Criteria andP1EqualTo(BigDecimal value) {
            addCriterion("P1 =", value, "p1");
            return (Criteria) this;
        }

        public Criteria andP1NotEqualTo(BigDecimal value) {
            addCriterion("P1 <>", value, "p1");
            return (Criteria) this;
        }

        public Criteria andP1GreaterThan(BigDecimal value) {
            addCriterion("P1 >", value, "p1");
            return (Criteria) this;
        }

        public Criteria andP1GreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("P1 >=", value, "p1");
            return (Criteria) this;
        }

        public Criteria andP1LessThan(BigDecimal value) {
            addCriterion("P1 <", value, "p1");
            return (Criteria) this;
        }

        public Criteria andP1LessThanOrEqualTo(BigDecimal value) {
            addCriterion("P1 <=", value, "p1");
            return (Criteria) this;
        }

        public Criteria andP1In(List<BigDecimal> values) {
            addCriterion("P1 in", values, "p1");
            return (Criteria) this;
        }

        public Criteria andP1NotIn(List<BigDecimal> values) {
            addCriterion("P1 not in", values, "p1");
            return (Criteria) this;
        }

        public Criteria andP1Between(BigDecimal value1, BigDecimal value2) {
            addCriterion("P1 between", value1, value2, "p1");
            return (Criteria) this;
        }

        public Criteria andP1NotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("P1 not between", value1, value2, "p1");
            return (Criteria) this;
        }

        public Criteria andP2OldIsNull() {
            addCriterion("P2_OLD is null");
            return (Criteria) this;
        }

        public Criteria andP2OldIsNotNull() {
            addCriterion("P2_OLD is not null");
            return (Criteria) this;
        }

        public Criteria andP2OldEqualTo(BigDecimal value) {
            addCriterion("P2_OLD =", value, "p2Old");
            return (Criteria) this;
        }

        public Criteria andP2OldNotEqualTo(BigDecimal value) {
            addCriterion("P2_OLD <>", value, "p2Old");
            return (Criteria) this;
        }

        public Criteria andP2OldGreaterThan(BigDecimal value) {
            addCriterion("P2_OLD >", value, "p2Old");
            return (Criteria) this;
        }

        public Criteria andP2OldGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("P2_OLD >=", value, "p2Old");
            return (Criteria) this;
        }

        public Criteria andP2OldLessThan(BigDecimal value) {
            addCriterion("P2_OLD <", value, "p2Old");
            return (Criteria) this;
        }

        public Criteria andP2OldLessThanOrEqualTo(BigDecimal value) {
            addCriterion("P2_OLD <=", value, "p2Old");
            return (Criteria) this;
        }

        public Criteria andP2OldIn(List<BigDecimal> values) {
            addCriterion("P2_OLD in", values, "p2Old");
            return (Criteria) this;
        }

        public Criteria andP2OldNotIn(List<BigDecimal> values) {
            addCriterion("P2_OLD not in", values, "p2Old");
            return (Criteria) this;
        }

        public Criteria andP2OldBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("P2_OLD between", value1, value2, "p2Old");
            return (Criteria) this;
        }

        public Criteria andP2OldNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("P2_OLD not between", value1, value2, "p2Old");
            return (Criteria) this;
        }

        public Criteria andP2IsNull() {
            addCriterion("P2 is null");
            return (Criteria) this;
        }

        public Criteria andP2IsNotNull() {
            addCriterion("P2 is not null");
            return (Criteria) this;
        }

        public Criteria andP2EqualTo(BigDecimal value) {
            addCriterion("P2 =", value, "p2");
            return (Criteria) this;
        }

        public Criteria andP2NotEqualTo(BigDecimal value) {
            addCriterion("P2 <>", value, "p2");
            return (Criteria) this;
        }

        public Criteria andP2GreaterThan(BigDecimal value) {
            addCriterion("P2 >", value, "p2");
            return (Criteria) this;
        }

        public Criteria andP2GreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("P2 >=", value, "p2");
            return (Criteria) this;
        }

        public Criteria andP2LessThan(BigDecimal value) {
            addCriterion("P2 <", value, "p2");
            return (Criteria) this;
        }

        public Criteria andP2LessThanOrEqualTo(BigDecimal value) {
            addCriterion("P2 <=", value, "p2");
            return (Criteria) this;
        }

        public Criteria andP2In(List<BigDecimal> values) {
            addCriterion("P2 in", values, "p2");
            return (Criteria) this;
        }

        public Criteria andP2NotIn(List<BigDecimal> values) {
            addCriterion("P2 not in", values, "p2");
            return (Criteria) this;
        }

        public Criteria andP2Between(BigDecimal value1, BigDecimal value2) {
            addCriterion("P2 between", value1, value2, "p2");
            return (Criteria) this;
        }

        public Criteria andP2NotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("P2 not between", value1, value2, "p2");
            return (Criteria) this;
        }

        public Criteria andP3OldIsNull() {
            addCriterion("P3_OLD is null");
            return (Criteria) this;
        }

        public Criteria andP3OldIsNotNull() {
            addCriterion("P3_OLD is not null");
            return (Criteria) this;
        }

        public Criteria andP3OldEqualTo(BigDecimal value) {
            addCriterion("P3_OLD =", value, "p3Old");
            return (Criteria) this;
        }

        public Criteria andP3OldNotEqualTo(BigDecimal value) {
            addCriterion("P3_OLD <>", value, "p3Old");
            return (Criteria) this;
        }

        public Criteria andP3OldGreaterThan(BigDecimal value) {
            addCriterion("P3_OLD >", value, "p3Old");
            return (Criteria) this;
        }

        public Criteria andP3OldGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("P3_OLD >=", value, "p3Old");
            return (Criteria) this;
        }

        public Criteria andP3OldLessThan(BigDecimal value) {
            addCriterion("P3_OLD <", value, "p3Old");
            return (Criteria) this;
        }

        public Criteria andP3OldLessThanOrEqualTo(BigDecimal value) {
            addCriterion("P3_OLD <=", value, "p3Old");
            return (Criteria) this;
        }

        public Criteria andP3OldIn(List<BigDecimal> values) {
            addCriterion("P3_OLD in", values, "p3Old");
            return (Criteria) this;
        }

        public Criteria andP3OldNotIn(List<BigDecimal> values) {
            addCriterion("P3_OLD not in", values, "p3Old");
            return (Criteria) this;
        }

        public Criteria andP3OldBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("P3_OLD between", value1, value2, "p3Old");
            return (Criteria) this;
        }

        public Criteria andP3OldNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("P3_OLD not between", value1, value2, "p3Old");
            return (Criteria) this;
        }

        public Criteria andP3IsNull() {
            addCriterion("P3 is null");
            return (Criteria) this;
        }

        public Criteria andP3IsNotNull() {
            addCriterion("P3 is not null");
            return (Criteria) this;
        }

        public Criteria andP3EqualTo(BigDecimal value) {
            addCriterion("P3 =", value, "p3");
            return (Criteria) this;
        }

        public Criteria andP3NotEqualTo(BigDecimal value) {
            addCriterion("P3 <>", value, "p3");
            return (Criteria) this;
        }

        public Criteria andP3GreaterThan(BigDecimal value) {
            addCriterion("P3 >", value, "p3");
            return (Criteria) this;
        }

        public Criteria andP3GreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("P3 >=", value, "p3");
            return (Criteria) this;
        }

        public Criteria andP3LessThan(BigDecimal value) {
            addCriterion("P3 <", value, "p3");
            return (Criteria) this;
        }

        public Criteria andP3LessThanOrEqualTo(BigDecimal value) {
            addCriterion("P3 <=", value, "p3");
            return (Criteria) this;
        }

        public Criteria andP3In(List<BigDecimal> values) {
            addCriterion("P3 in", values, "p3");
            return (Criteria) this;
        }

        public Criteria andP3NotIn(List<BigDecimal> values) {
            addCriterion("P3 not in", values, "p3");
            return (Criteria) this;
        }

        public Criteria andP3Between(BigDecimal value1, BigDecimal value2) {
            addCriterion("P3 between", value1, value2, "p3");
            return (Criteria) this;
        }

        public Criteria andP3NotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("P3 not between", value1, value2, "p3");
            return (Criteria) this;
        }

        public Criteria andP4OldIsNull() {
            addCriterion("P4_OLD is null");
            return (Criteria) this;
        }

        public Criteria andP4OldIsNotNull() {
            addCriterion("P4_OLD is not null");
            return (Criteria) this;
        }

        public Criteria andP4OldEqualTo(BigDecimal value) {
            addCriterion("P4_OLD =", value, "p4Old");
            return (Criteria) this;
        }

        public Criteria andP4OldNotEqualTo(BigDecimal value) {
            addCriterion("P4_OLD <>", value, "p4Old");
            return (Criteria) this;
        }

        public Criteria andP4OldGreaterThan(BigDecimal value) {
            addCriterion("P4_OLD >", value, "p4Old");
            return (Criteria) this;
        }

        public Criteria andP4OldGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("P4_OLD >=", value, "p4Old");
            return (Criteria) this;
        }

        public Criteria andP4OldLessThan(BigDecimal value) {
            addCriterion("P4_OLD <", value, "p4Old");
            return (Criteria) this;
        }

        public Criteria andP4OldLessThanOrEqualTo(BigDecimal value) {
            addCriterion("P4_OLD <=", value, "p4Old");
            return (Criteria) this;
        }

        public Criteria andP4OldIn(List<BigDecimal> values) {
            addCriterion("P4_OLD in", values, "p4Old");
            return (Criteria) this;
        }

        public Criteria andP4OldNotIn(List<BigDecimal> values) {
            addCriterion("P4_OLD not in", values, "p4Old");
            return (Criteria) this;
        }

        public Criteria andP4OldBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("P4_OLD between", value1, value2, "p4Old");
            return (Criteria) this;
        }

        public Criteria andP4OldNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("P4_OLD not between", value1, value2, "p4Old");
            return (Criteria) this;
        }

        public Criteria andP4IsNull() {
            addCriterion("P4 is null");
            return (Criteria) this;
        }

        public Criteria andP4IsNotNull() {
            addCriterion("P4 is not null");
            return (Criteria) this;
        }

        public Criteria andP4EqualTo(BigDecimal value) {
            addCriterion("P4 =", value, "p4");
            return (Criteria) this;
        }

        public Criteria andP4NotEqualTo(BigDecimal value) {
            addCriterion("P4 <>", value, "p4");
            return (Criteria) this;
        }

        public Criteria andP4GreaterThan(BigDecimal value) {
            addCriterion("P4 >", value, "p4");
            return (Criteria) this;
        }

        public Criteria andP4GreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("P4 >=", value, "p4");
            return (Criteria) this;
        }

        public Criteria andP4LessThan(BigDecimal value) {
            addCriterion("P4 <", value, "p4");
            return (Criteria) this;
        }

        public Criteria andP4LessThanOrEqualTo(BigDecimal value) {
            addCriterion("P4 <=", value, "p4");
            return (Criteria) this;
        }

        public Criteria andP4In(List<BigDecimal> values) {
            addCriterion("P4 in", values, "p4");
            return (Criteria) this;
        }

        public Criteria andP4NotIn(List<BigDecimal> values) {
            addCriterion("P4 not in", values, "p4");
            return (Criteria) this;
        }

        public Criteria andP4Between(BigDecimal value1, BigDecimal value2) {
            addCriterion("P4 between", value1, value2, "p4");
            return (Criteria) this;
        }

        public Criteria andP4NotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("P4 not between", value1, value2, "p4");
            return (Criteria) this;
        }

        public Criteria andP5OldIsNull() {
            addCriterion("P5_OLD is null");
            return (Criteria) this;
        }

        public Criteria andP5OldIsNotNull() {
            addCriterion("P5_OLD is not null");
            return (Criteria) this;
        }

        public Criteria andP5OldEqualTo(BigDecimal value) {
            addCriterion("P5_OLD =", value, "p5Old");
            return (Criteria) this;
        }

        public Criteria andP5OldNotEqualTo(BigDecimal value) {
            addCriterion("P5_OLD <>", value, "p5Old");
            return (Criteria) this;
        }

        public Criteria andP5OldGreaterThan(BigDecimal value) {
            addCriterion("P5_OLD >", value, "p5Old");
            return (Criteria) this;
        }

        public Criteria andP5OldGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("P5_OLD >=", value, "p5Old");
            return (Criteria) this;
        }

        public Criteria andP5OldLessThan(BigDecimal value) {
            addCriterion("P5_OLD <", value, "p5Old");
            return (Criteria) this;
        }

        public Criteria andP5OldLessThanOrEqualTo(BigDecimal value) {
            addCriterion("P5_OLD <=", value, "p5Old");
            return (Criteria) this;
        }

        public Criteria andP5OldIn(List<BigDecimal> values) {
            addCriterion("P5_OLD in", values, "p5Old");
            return (Criteria) this;
        }

        public Criteria andP5OldNotIn(List<BigDecimal> values) {
            addCriterion("P5_OLD not in", values, "p5Old");
            return (Criteria) this;
        }

        public Criteria andP5OldBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("P5_OLD between", value1, value2, "p5Old");
            return (Criteria) this;
        }

        public Criteria andP5OldNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("P5_OLD not between", value1, value2, "p5Old");
            return (Criteria) this;
        }

        public Criteria andP5IsNull() {
            addCriterion("P5 is null");
            return (Criteria) this;
        }

        public Criteria andP5IsNotNull() {
            addCriterion("P5 is not null");
            return (Criteria) this;
        }

        public Criteria andP5EqualTo(BigDecimal value) {
            addCriterion("P5 =", value, "p5");
            return (Criteria) this;
        }

        public Criteria andP5NotEqualTo(BigDecimal value) {
            addCriterion("P5 <>", value, "p5");
            return (Criteria) this;
        }

        public Criteria andP5GreaterThan(BigDecimal value) {
            addCriterion("P5 >", value, "p5");
            return (Criteria) this;
        }

        public Criteria andP5GreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("P5 >=", value, "p5");
            return (Criteria) this;
        }

        public Criteria andP5LessThan(BigDecimal value) {
            addCriterion("P5 <", value, "p5");
            return (Criteria) this;
        }

        public Criteria andP5LessThanOrEqualTo(BigDecimal value) {
            addCriterion("P5 <=", value, "p5");
            return (Criteria) this;
        }

        public Criteria andP5In(List<BigDecimal> values) {
            addCriterion("P5 in", values, "p5");
            return (Criteria) this;
        }

        public Criteria andP5NotIn(List<BigDecimal> values) {
            addCriterion("P5 not in", values, "p5");
            return (Criteria) this;
        }

        public Criteria andP5Between(BigDecimal value1, BigDecimal value2) {
            addCriterion("P5 between", value1, value2, "p5");
            return (Criteria) this;
        }

        public Criteria andP5NotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("P5 not between", value1, value2, "p5");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}